package com.xuzimian.globaldemo.spring.springwebflux.model;


import org.springframework.beans.factory.annotation.Value;

public class User {
    @Value("${com.xuzimian.globaldemo.spring.springwebflux.name}")
    private String name;
    @Value("${com.xuzimian.globaldemo.spring.springwebflux.say}")
    private String says;


//    public User() {
//    }
//
//    public User(String name, String says) {
//        this.name = name;
//        this.says = says;
//    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSays() {
        return says;
    }

    public void setSays(String says) {
        this.says = says;
    }
}